package com.cm.projectx.controller.customer;

import com.cm.projectx.response.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("customer")
public class CustomerController {
    /**
     * 1.流程id查询任务
     * 2.根据任务类型查询最近一次的填报
     * @param processId 流程id
     * @param productId 商品id
     * @param monitorId 监测点id
     * @return
     */
    @RequestMapping("price/last")
    public Result getLastTaskProductPrice(@RequestParam(required = true) String processId,
                                          @RequestParam(required = true) String productId,
                                          @RequestParam(required = true) String monitorId){

        return Result.SUCCESS;
    }

}
